<?php

class BonusConvertCashPageLink extends Extension {
	function getBonusConvertCash(){
        $page = BonusConvertCash::get()->find('ClassName', 'BonusConvertCash');
        if($page) return $page;
    }
    
    function getBonusConvertCashLink() {
        $page = $this->getBonusConvertCash();
        if($page) return $page->Link();
    }
	
    function getBonusConvertCashStatement(){
        $page = BonusConvertCashStatementPage::get()->find('ClassName', 'BonusConvertCashStatementPage');
        if($page) return $page;
    }
    
    function getBonusConvertCashStatementLink() {
        $page = $this->getBonusConvertCashStatement();
        if($page) return $page->Link();
    }
}
